/*
 * @Author: hyman
 * @Date: 2022-02-11 10:55:32
 * @LastEditors: hyman
 * @LastEditTime: 2022-02-11 11:04:31
 * @Description: 请填写简介
 */
import { POST, UPLOAD } from '@/services/request.js'

//导出接口
const base = {
    login(data = {})
    {
        return POST({
        url: '/user/base/login',
        params: data
        })
    },
    register(data = {}){
        return POST({
            url: '/user/base/register',
            params: data
        })
    },
    check(data={}){
        return POST({
            url: '/user/base/check',
            params: data
        })
    },
    profile(data={}){
        return UPLOAD({
            url: '/user/base/profile',
            params: data
        })
    },
    del(data={}){
        return POST({
            url: '/user/base/del',
            params: data
        })
    }
}

export default base